sf: Adopt flash table INFO macro from Linux
authorJagan Teki <[email protected]>
Sun, 30 Oct 2016 17:46:10 +0000 (23:16 +0530)
committerJagan Teki <[email protected]>
Fri, 18 Nov 2016 07:34:52 +0000 (13:04 +0530)
commitf790ca7c7dfd6b96d418a29d4a8654cdfebbdfc3
tree5dd55c9f3d0d57bd1cf96f0bf27104a2c986d148
parentebfa18cb3d8b5e6f57ac22e39b21c4fc1c1d3597
sf: Adopt flash table INFO macro from Linux

INFO macro make flash table entries more adjustable like
adding new flash_info attributes, update ID length bytes
and so on and more over it will sync to Linux way of defining
flash_info attributes.

- Add JEDEC_ID
- Add JEDEC_EXT macro
- Add JEDEC_MFR
- spi_flash_params => spi_flash_info
- params => info

Cc: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: York Sun <[email protected]>
Cc: Vignesh R <[email protected]>
Cc: Mugunthan V N <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Siva Durga Prasad Paladugu <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Tested-by: Jagan Teki <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
drivers/mtd/spi/sandbox.c
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_params.c
drivers/mtd/spi/spi_flash.c
include/linux/err.h